@import '~@common/css/_variables.scss';

.header {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  padding-left: 212px;
  background: url('../../common/images/logo.svg') left 11px center / 116.8px no-repeat;
  align-items: center;
  justify-content: space-between;

  &::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 36px;
    height: 30px;
    background: $color url('../../common/images/circle.svg') left 2px center/30px no-repeat;
    content: '';
    transform: translateY(-50%);
  }

  .left {
    display: flex;
    height: 100%;
    align-items: center;

    .back_group {
      display: flex;
      height: 100%;
      align-items: center;

      p {
        width: 24px;
        height: 24px;
        font-size: 9px;
        line-height: 24px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        -webkit-app-region: no-drag;
        transform: rotate(180deg);

        &:last-child {
          margin-left: 8px;
          transform: rotate(0);
        }
      }
    }

    .general_song {
      margin-left: 14px;
      color: #fff;

      p {
        font-size: 20px;
        cursor: pointer;
        -webkit-app-region: no-drag;
      }
    }
  }

  .tool {
    display: flex;
    align-items: center;

    li {
      margin: 0 8px;
      font-size: 20px;
      color: #fff;
      color: #e9e9e9;
      cursor: pointer;
      -webkit-app-region: no-drag;

      &.author {
        display: flex;
        font-size: 14px;
        align-items: center;

        .avatarUrl {
          width: 30px;
          height: 30px;
          margin-right: 6px;
          cursor: pointer;
          border-radius: 50%;
        }

        .userInfo {
          display: flex;
          cursor: pointer;
          align-items: center;

          &:hover {
            color: #fff;
          }

          .redVipImageUrl {
            height: 12px;
            margin-left: 4px;
          }

          p {
            white-space: nowrap;
            cursor: pointer;

            &:nth-child(2) {
              margin-left: 4px;
            }

            &:nth-child(3) {
              margin-left: 4px;
              font-size: 8px;
            }
          }
        }
      }
    }
  }
}

.colorContent {
  position: fixed;
  top: 70px;
  right: 168px;
  z-index: 31;
}
